package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the SYSTEMLOG_ database table.
 * 
 */
@Entity
@Table(name="SYSTEMLOG_")
@NamedQuery(name="Systemlog.findAll", query="SELECT s FROM Systemlog s")
public class Systemlog implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="SYSTEMLOG__SYSTEMLOGID_GENERATOR", sequenceName="SEQ",initialValue=1,allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SYSTEMLOG__SYSTEMLOGID_GENERATOR")
	@Column(name="SYSTEMLOG_ID")
	private long systemlogId;

	@Column(name="SYSTEMLOG_CONTENT")
	private String systemlogContent;

	@Column(name="SYSTEMLOG_IFDELETE")
	private BigDecimal systemlogIfdelete;

	@Temporal(TemporalType.DATE)
	@Column(name="SYSTEMLOG_INTODATE")
	private Date systemlogIntodate;

	@Column(name="SYSTEMLOG_REMARKS")
	private String systemlogRemarks;

	@Column(name="SYSTEMLOG_TIME")
	private String systemlogTime;

	@Column(name="SYSTEMLOG_TYPE")
	private String systemlogType;

	//bi-directional many-to-one association to User
	@ManyToOne
	@JoinColumn(name="USER_ID")
	private User user;

	public Systemlog() {
	}

	public long getSystemlogId() {
		return this.systemlogId;
	}

	public void setSystemlogId(long systemlogId) {
		this.systemlogId = systemlogId;
	}

	public String getSystemlogContent() {
		return this.systemlogContent;
	}

	public void setSystemlogContent(String systemlogContent) {
		this.systemlogContent = systemlogContent;
	}

	public BigDecimal getSystemlogIfdelete() {
		return this.systemlogIfdelete;
	}

	public void setSystemlogIfdelete(BigDecimal systemlogIfdelete) {
		this.systemlogIfdelete = systemlogIfdelete;
	}

	public Date getSystemlogIntodate() {
		return this.systemlogIntodate;
	}

	public void setSystemlogIntodate(Date systemlogIntodate) {
		this.systemlogIntodate = systemlogIntodate;
	}

	public String getSystemlogRemarks() {
		return this.systemlogRemarks;
	}

	public void setSystemlogRemarks(String systemlogRemarks) {
		this.systemlogRemarks = systemlogRemarks;
	}

	public String getSystemlogTime() {
		return this.systemlogTime;
	}

	public void setSystemlogTime(String systemlogTime) {
		this.systemlogTime = systemlogTime;
	}

	public String getSystemlogType() {
		return this.systemlogType;
	}

	public void setSystemlogType(String systemlogType) {
		this.systemlogType = systemlogType;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}